package com.itcms.webservice.domain;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.itcms.core.domain.InfoFile;

/**
 * Info
 * 
 * @author mengjie
 * 
 */
public class InfoVO {

	private Integer id;
	private Integer siteId;
	private Integer cateId;//栏目id
	private String title;//标题
	private String SubTitle;//副标题
	private Map<String, String> Content = new HashMap<String, String>(0);//稿件内容（utf-8编码）
	private String url;//重定向地址
	private String PublishedTime;//发布时间 例如2015-01-02 00:00:00 默认当前时间
	private String WriteDate;//创建时间 默认跟发布时间相同
	private String ExpDate;//执行时间 默认跟发布时间相同
	private String LastUpdateDate;//最后修改时间默认跟发布时间相同
	private String Source;// 摘要
	private String LastUpdateUsername;//最后跟新用户名 ，可以为空
	private String LastUpdateUserId;//最后跟新用户id 可以为空
	private String Writer ;//写入用户id可以为空
	private String WriterName;//写入用户用户名
	private String TemplateId;//设置模板id 默认0 
	private String type;//稿件发布类型1 直接发布，0 发布为草稿---状态(0:发起者,1-9:审核中,A:已发布,B:草稿,C:投稿,D:退稿,E:采集,F:待发布,G:已过期,X:回收站,Z:归档)'
	private String Pwd;//信息密码 gdjt2010 必须
//	private Files[] files;//Files对象数组包含附件名称和附件地址
	private List<InfoFile> files;//Files对象数组包含附件名称和附件地址
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getSiteId() {
		return siteId;
	}
	public void setSiteId(Integer siteId) {
		this.siteId = siteId;
	}
	public Integer getCateId() {
		return cateId;
	}
	public void setCateId(Integer cateId) {
		this.cateId = cateId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubTitle() {
		return SubTitle;
	}
	public void setSubTitle(String subTitle) {
		SubTitle = subTitle;
	}
	public Map<String, String> getContent() {
		return Content;
	}
	public void setContent(Map<String, String> content) {
		Content = content;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getPublishedTime() {
		return PublishedTime;
	}
	public void setPublishedTime(String publishedTime) {
		PublishedTime = publishedTime;
	}
	public String getWriteDate() {
		return WriteDate;
	}
	public void setWriteDate(String writeDate) {
		WriteDate = writeDate;
	}
	public String getExpDate() {
		return ExpDate;
	}
	public void setExpDate(String expDate) {
		ExpDate = expDate;
	}
	public String getLastUpdateDate() {
		return LastUpdateDate;
	}
	public void setLastUpdateDate(String lastUpdateDate) {
		LastUpdateDate = lastUpdateDate;
	}
	public String getSource() {
		return Source;
	}
	public void setSource(String source) {
		Source = source;
	}
	public String getLastUpdateUsername() {
		return LastUpdateUsername;
	}
	public void setLastUpdateUsername(String lastUpdateUsername) {
		LastUpdateUsername = lastUpdateUsername;
	}
	public String getLastUpdateUserId() {
		return LastUpdateUserId;
	}
	public void setLastUpdateUserId(String lastUpdateUserId) {
		LastUpdateUserId = lastUpdateUserId;
	}
	public String getWriter() {
		return Writer;
	}
	public void setWriter(String writer) {
		Writer = writer;
	}
	public String getWriterName() {
		return WriterName;
	}
	public void setWriterName(String writerName) {
		WriterName = writerName;
	}
	public String getTemplateId() {
		return TemplateId;
	}
	public void setTemplateId(String templateId) {
		TemplateId = templateId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getPwd() {
		return Pwd;
	}
	public void setPwd(String pwd) {
		Pwd = pwd;
	}
//	public Files[] getFiles() {
//		return files;
//	}
//	public void setFiles(Files[] files) {
//		this.files = files;
//	}
	public List<InfoFile> getFiles() {
		return files;
	}
	public void setFiles(List<InfoFile> files) {
		this.files = files;
	}

}
